//
//  DCAuthInfoCommonCell.h
//  Demo
//
//  Created by zhaolin on 2023/1/12.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@protocol DCAuthInfoCommonCellDelegate <NSObject>

@optional
- (void)authInfoCommonCellBegainEditingWithText:(NSIndexPath *)index;

- (void)authInfoCommonCellEndEditingWithText:(NSString *)text;


@end
typedef enum : NSUInteger {
    DCAuthInfoCommonCellTypeRightNun,        //右侧无箭头
    DCAuthInfoCommonCellTypeRightRight,      //右侧箭头向右
    DCAuthInfoCommonCellTypeRightDown,       //右侧箭头向下
    DCAuthInfoCommonCellTypeWoring           //信息校验错误
} DCAuthInfoCommonCellType;

@class DCAuthInfoUIModel;
@interface DCAuthInfoCommonCell : UITableViewCell


@property (nonatomic, weak) id<DCAuthInfoCommonCellDelegate>delegate;

@property (nonatomic, strong) NSIndexPath *indexPath;

- (void)configureDataWithModel:(DCAuthInfoUIModel *)model;

@end

NS_ASSUME_NONNULL_END
